local skill = fk.CreateSkill{
  name = "death_and_decay_skill",
}

Fk:loadTranslationTable{
  [skill.name] = "死亡凋零",
  ["#death_and_decay_skill"] = "令所有角色各失去1点体力。",
}

skill:addEffect("cardskill", {
  prompt = "#death_and_decay_skill",
  can_use = Util.GlobalCanUse,
  on_use = Util.GlobalOnUse,
  mod_target_filter = Util.TrueFunc,
  target_filter = Util.FalseFunc,
  on_effect = function(self, room, effect)
    if effect.to.dead then return end
    room:loseHp(effect.to, 1, "death_and_decay")
  end,
})

return skill